package com.xxxy.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author sjh
 * @date 2022/2/9 9:47
 */
@Data
@TableName("es_course")
public class Course implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "课程ID")
    private Integer id;

    @ApiModelProperty(value = "课程名")
    private String course;

    @ApiModelProperty(value = "开课学院id")
    private Integer facultyId;
}
